/**
 * Created by Administrator on 2017/5/27.
 * Copyright 2017-2018 汉威.智慧环保事业部 Limited.
 * All rights reserved.
 */
package com.hw.one.collect.tasks.fairsense.job;

import com.hw.one.collect.job.Job;
import com.hw.one.collect.tasks.fairsense.client.FairSenseClient;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
public class FairSenseJob extends Job {
    @Override
    public void start() {
        FairSenseClient client = new FairSenseClient();
        Map<String,String> params = new HashMap<>();
        try{
            client.execute(params);
        }catch (Exception e){
            log.error("泛测数据Job执行异常",e);
        }
    }
}
